package org.dromara.tearoom.domain.vo;

import org.dromara.tearoom.domain.TerTransactions;
import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;



/**
 * 钱包充值交易流水视图对象 ter_transactions
 *
 * @author xch
 * @date 2025-05-08
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = TerTransactions.class)
public class TerTransactionsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @ExcelProperty(value = "")
    private Long id;

    /**
     * 会员id
     */
    @ExcelProperty(value = "会员id")
    private Long memberId;

    /**
     * 充值金额
     */
    @ExcelProperty(value = "充值金额")
    private Integer amount;

    /**
     * 原余额
     */
    @ExcelProperty(value = "原余额")
    private Integer balanceBefore;

    /**
     * 充值后余额
     */
    @ExcelProperty(value = "充值后余额")
    private Integer balanceAfter;

    /**
     * 账户id
     */
    @ExcelProperty(value = "账户id")
    private Long accountId;

    private String remark;
    private LocalDateTime createTime;
    private Integer giftBefore;
    private Integer giftAfter;
    private String orderId;
}
